package com.dazhi.boot.web.embedded.tomcat;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
@ComponentScan(basePackages = "com.dazhi.boot.web.embedded.tomcat") //扫描组件
@EnableWebMvc //开启SpringMVC注解驱动
public class WebConfig implements WebMvcConfigurer {
}
